﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ShivamEMR.Model.Domain.PharmacyDomain;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.PatientDomain
{
   public class PatientAllergy
    {
        #region Properties
        public Guid ID { get; set; }
        public string AllergyWith { get; set; }
        public string Description { get; set; }
        public string Notes { get; set; } 
        #endregion

        #region ForeignKeyProperties
       [ForeignKey("Drug")]
        public Guid DrugID { get; set; }
       [ForeignKey("Group")]
        public int GroupID { get; set; } 
        #endregion
       
        #region NavigationalProperties
        public virtual Drug Drug { get; set; }
        public virtual PatientAllergyGroup Group { get; set; } 
        #endregion

    }
}
